assume cs:code,ds:data,ss:stack
data segment
	db 'welcome to masm!'
	db 82h,0a4h,0f1h
data ends
stack segment
	db 16 dup(0)
stack ends
code segment
start:
	mov ax,data
	mov ds,ax
	
	mov ax,stack
	mov ss,ax
	mov sp,10h

	mov bx,0;第几行
	mov cx,3;循环3次
	mov ax,0b872h
s3:
	push ax
	push cx
	mov es,ax
	mov si,0
	mov di,0
	mov ah,ds:10h[bx]
	mov cx,10h
s:
	mov al,ds:[si]
	mov es:[di],ax
	inc si
	add di,2
	loop s

	inc bx
	pop cx
	pop ax
	add ax,0ah
	loop s3
	
	mov ax,4c00h
	int 21h
code ends
end start